200 |
How do I arrange my columns on multiple lines
public void init() { ; super(); exlist1.HeaderHeight(32); COM::createFromVariant(exlist1.Columns().Add("")).HTMLCaption("Line 1<br>Line 2"); } |
199 |
How can I display all cells using HTML format
|
198 |
How can I display all cells using multiple lines
public void init() { COM com_Items; anytype var_Items; ; super(); COM::createFromVariant(exlist1.Columns().Add("MultipleLine")).Def(16/*exCellSingleLine*/,COMVariant::createFromBoolean(false)); COM::createFromVariant(exlist1.Columns().Add("SingleLine")).Def(16/*exCellSingleLine*/,COMVariant::createFromBoolean(true)); var_Items = exlist1.Items(); com_Items = var_Items; com_Items.Caption(com_Items.Add("This is a bit of long text that should break the line"),COMVariant::createFromInt(1),"this is a bit of long text that's displayed on a single line"); } |
197 |
How do change the vertical alignment for all cells in the column
public void init() { COM com_Items,com_Items1; anytype var_Items,var_Items1; ; super(); COM::createFromVariant(exlist1.Columns().Add("MultipleLine")).Def(16/*exCellSingleLine*/,COMVariant::createFromBoolean(false)); COM::createFromVariant(exlist1.Columns().Add("VAlign")).Def(6/*exCellVAlignment*/,COMVariant::createFromInt(2)); var_Items = exlist1.Items(); com_Items = var_Items; com_Items.Caption(com_Items.Add("This is a bit of long text that should break the line"),COMVariant::createFromInt(1),"bottom"); var_Items1 = exlist1.Items(); com_Items1 = var_Items1; com_Items1.Caption(com_Items1.Add("This is a bit of long text that should break the line"),COMVariant::createFromInt(1),"bottom"); } |
196 |
How do change the foreground color for all cells in the column
|
195 |
How do change the background color for all cells in the column
|
194 |
How do I show buttons for all cells in the column
public void init() { COM com_Column; anytype var_Column; ; super(); var_Column = COM::createFromVariant(exlist1.Columns().Add("Button")); com_Column = var_Column; com_Column.Def(2/*exCellHasButton*/,COMVariant::createFromBoolean(true)); com_Column.Def(3/*exCellHasButton | exCellHasRadioButton*/,COMVariant::createFromBoolean(true)); exlist1.Items().Add(" Button 1 "); exlist1.Items().Add(" Button 2 "); } |
193 |
How do I show buttons for all cells in the column
|
192 |
How do I display radio buttons for all cells in the column
|
191 |
How do I display checkboxes for all cells in the column
|
190 |
How can I display a tooltip when the cursor hovers the column
|
189 |
Is there any function to assign a key to a column instead using its name or capion
|
188 |
Is there any function to assign any extra data to a column
|
187 |
By default, the column gets sorted descending, when I first click its header. How can I change so the column gets sorted ascending when the user first clicks the column's header
|
186 |
How can I specify the maximum width for the column, if I use WidthAutoResize property
public void init() { COM com_Column; anytype var_Column; ; super(); var_Column = COM::createFromVariant(exlist1.Columns().Add("Auto")); com_Column = var_Column; com_Column.WidthAutoResize(true); com_Column.MinWidthAutoResize(32); com_Column.MaxWidthAutoResize(128); exlist1.Items().Add(COMVariant::createFromInt(0)); exlist1.Items().Add(COMVariant::createFromInt(1)); } |
185 |
How can I specify the minimum width for the column, if I use WidthAutoResize property
public void init() { COM com_Column; anytype var_Column; ; super(); var_Column = COM::createFromVariant(exlist1.Columns().Add("Auto")); com_Column = var_Column; com_Column.WidthAutoResize(true); com_Column.MinWidthAutoResize(32); exlist1.Items().Add(COMVariant::createFromInt(0)); exlist1.Items().Add(COMVariant::createFromInt(1)); } |
184 |
Is there any option to resize the column based on its data, captions
|
183 |
How can I align the icon in the column's header in the center
|
182 |
How do I align the icon in the column's header to the right
|
181 |
How do I show or hide the sorting icons, but still need sorting
public void init() { COM com_Column; anytype var_Column; ; super(); COM::createFromVariant(exlist1.Columns().Add("Sorted")).SortOrder(1/*SortAscending*/); var_Column = COM::createFromObject(exlist1.Columns()).Item(COMVariant::createFromInt(0)); com_Column = var_Column; com_Column.DisplaySortIcon(false); } |
180 |
How do I enable or disable the entire column
|
179 |
How do I disable drag and drop columns
public void init() { ; super(); COM::createFromVariant(exlist1.Columns().Add("C1")).AllowDragging(false); COM::createFromVariant(exlist1.Columns().Add("C2")).AllowDragging(false); } |
178 |
How do I disable resizing a column at runtime
|
177 |
How can I align the column to the right, and its caption too
public void init() { COM com_Column; anytype var_Column; ; super(); var_Column = COM::createFromVariant(exlist1.Columns().Add("Column")); com_Column = var_Column; com_Column.Alignment(2/*RightAlignment*/); com_Column.HeaderAlignment(2/*RightAlignment*/); exlist1.Items().Add(COMVariant::createFromInt(0)); exlist1.Items().Add(COMVariant::createFromInt(1)); } |
176 |
How can I align the column to the right
|
175 |
How do I change the column's caption
|
174 |
Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions, after the user clicks it
|
173 |
Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions
|
172 |
Can I change the font for the tooltip
|
171 |
Can I change the font for the tooltip
public void init() { COM com_StdFont; anytype var_StdFont; ; super(); exlist1.ToolTipDelay(1); var_StdFont = exlist1.ToolTipFont(); com_StdFont = var_StdFont; com_StdFont.Name("Tahoma"); com_StdFont.Size(14); exlist1.ToolTipWidth(364); COM::createFromVariant(exlist1.Columns().Add("tootip")).ToolTip("this is a tooltip assigned to a column"); } |
170 |
Can I change the order of the buttons in the scroll bar
public void init() { ; super(); exlist1.ScrollOrderParts(1/*exHScroll*/,"t,l,r"); exlist1.ScrollOrderParts(0/*exVScroll*/,"t,l,r"); exlist1.ScrollBars(15/*DisableBoth*/); } |
169 |
The thumb size seems to be very small. Can I make it bigger
|
168 |
How can I display my text on the scroll bar, using a different font
|
167 |
How can I display my text on the scroll bar, using a different font
|
166 |
How can I display my text on the scroll bar
|
165 |
How do I enlarge or change the size of the control's scrollbars
public void init() { ; super(); exlist1.ScrollHeight(18); exlist1.ScrollWidth(18); exlist1.ScrollButtonWidth(18); exlist1.ScrollButtonHeight(18); exlist1.ScrollBars(15/*DisableBoth*/); } |
164 |
How do I assign a tooltip to a scrollbar
|
163 |
How do I assign an icon to the button in the scrollbar
public void init() { str var_s; ; super(); var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql"; var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0"; var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN"; var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="; exlist1.Images(COMVariant::createFromStr(var_s)); exlist1.ScrollPartVisible(1/*exHScroll*/,32768/*exLeftB1Part*/,true); exlist1.ScrollPartCaption(1/*exHScroll*/,32768/*exLeftB1Part*/,"<img>1</img>"); exlist1.ScrollHeight(18); exlist1.ScrollButtonWidth(18); exlist1.ScrollBars(5/*DisableNoHorizontal*/); } |
162 |
I need to add a button in the scroll bar. Is this possible
public void init() { ; super(); exlist1.ScrollPartVisible(1/*exHScroll*/,32768/*exLeftB1Part*/,true); exlist1.ScrollPartCaption(1/*exHScroll*/,32768/*exLeftB1Part*/,"1"); exlist1.ScrollBars(5/*DisableNoHorizontal*/); } |
161 |
Can I display an additional buttons in the scroll bar
public void init() { ; super(); exlist1.ScrollPartVisible(1/*exHScroll*/,32768/*exLeftB1Part*/,true); exlist1.ScrollPartVisible(1/*exHScroll*/,16384/*exLeftB2Part*/,true); exlist1.ScrollPartVisible(1/*exHScroll*/,1/*exRightB6Part*/,true); exlist1.ScrollPartVisible(1/*exHScroll*/,2/*exRightB5Part*/,true); exlist1.ScrollBars(5/*DisableNoHorizontal*/); } |
160 |
How can I display a custom size picture to a cell or item
|
159 |
How can I display a multiple pictures to a cell or item
public void init() { COM com_Items; anytype var_Items; ; super(); exlist1.DefaultItemHeight(48); exlist1.HTMLPicture("pic1","c:\\exontrol\\images\\zipdisk.gif"); exlist1.HTMLPicture("pic2","c:\\exontrol\\images\\auction.gif"); exlist1.Columns().Add("C1"); var_Items = exlist1.Items(); com_Items = var_Items; com_Items.CaptionFormat(com_Items.Add("<img>pic1</img> Text <img>pic2</img> another text ..."),COMVariant::createFromInt(0),1/*exHTML*/); } |
158 |
How do I change the column's foreground color for numbers between an interval - Range
public void init() { COM com_ConditionalFormat,com_Items,com_Items1,com_Items2,com_Items3; anytype var_ConditionalFormat,var_Items,var_Items1,var_Items2,var_Items3; ; super(); var_ConditionalFormat = COM::createFromObject(exlist1.ConditionalFormats()).Add("%0 >= 2 and %0 <= 10"); com_ConditionalFormat = var_ConditionalFormat; com_ConditionalFormat.Bold(true); com_ConditionalFormat.ForeColor(WinApi::RGB2int(255,0,0)); com_ConditionalFormat.ApplyTo(1); exlist1.Columns().Add("N1"); exlist1.Columns().Add("N2"); var_Items = exlist1.Items(); com_Items = var_Items; com_Items.Caption(com_Items.Add(COMVariant::createFromInt(1)),COMVariant::createFromInt(1),COMVariant::createFromInt(2)); var_Items1 = exlist1.Items(); com_Items1 = var_Items1; com_Items1.Caption(com_Items1.Add(COMVariant::createFromInt(3)),COMVariant::createFromInt(1),COMVariant::createFromInt(3)); var_Items2 = exlist1.Items(); com_Items2 = var_Items2; com_Items2.Caption(com_Items2.Add(COMVariant::createFromInt(10)),COMVariant::createFromInt(1),COMVariant::createFromInt(11)); var_Items3 = exlist1.Items(); com_Items3 = var_Items3; com_Items3.Caption(com_Items3.Add(COMVariant::createFromInt(13)),COMVariant::createFromInt(1),COMVariant::createFromInt(31)); exlist1.SearchColumnIndex(1); } |
157 |
How do I change the item's foreground color for numbers between an interval - Range
public void init() { COM com_ConditionalFormat; anytype var_ConditionalFormat; ; super(); var_ConditionalFormat = COM::createFromObject(exlist1.ConditionalFormats()).Add("%0 >= 2 and %0 <= 10"); com_ConditionalFormat = var_ConditionalFormat; com_ConditionalFormat.ForeColor(WinApi::RGB2int(255,0,0)); exlist1.Columns().Add("Numbers"); exlist1.Items().Add(COMVariant::createFromInt(1)); exlist1.Items().Add(COMVariant::createFromInt(2)); exlist1.Items().Add(COMVariant::createFromInt(10)); exlist1.Items().Add(COMVariant::createFromInt(20)); } |
156 |
How do I change the item's background color for numbers less than a value
public void init() { COM com_ConditionalFormat; anytype var_ConditionalFormat; ; super(); var_ConditionalFormat = COM::createFromObject(exlist1.ConditionalFormats()).Add("%0 < 10"); com_ConditionalFormat = var_ConditionalFormat; com_ConditionalFormat.BackColor(WinApi::RGB2int(255,0,0)); exlist1.Columns().Add("Numbers"); exlist1.Items().Add(COMVariant::createFromInt(1)); exlist1.Items().Add(COMVariant::createFromInt(2)); exlist1.Items().Add(COMVariant::createFromInt(10)); exlist1.Items().Add(COMVariant::createFromInt(20)); } |
155 |
How do I underline the numbers greater than a value
public void init() { COM com_ConditionalFormat; anytype var_ConditionalFormat; ; super(); var_ConditionalFormat = COM::createFromObject(exlist1.ConditionalFormats()).Add("%0 >= 10"); com_ConditionalFormat = var_ConditionalFormat; com_ConditionalFormat.Underline(true); exlist1.Columns().Add("Numbers"); exlist1.Items().Add(COMVariant::createFromInt(1)); exlist1.Items().Add(COMVariant::createFromInt(2)); exlist1.Items().Add(COMVariant::createFromInt(10)); exlist1.Items().Add(COMVariant::createFromInt(20)); } |
154 |
How do I highlight in italic the numbers greater than a value
public void init() { COM com_ConditionalFormat; anytype var_ConditionalFormat; ; super(); var_ConditionalFormat = COM::createFromObject(exlist1.ConditionalFormats()).Add("%0 >= 10"); com_ConditionalFormat = var_ConditionalFormat; com_ConditionalFormat.StrikeOut(true); exlist1.Columns().Add("Numbers"); exlist1.Items().Add(COMVariant::createFromInt(1)); exlist1.Items().Add(COMVariant::createFromInt(2)); exlist1.Items().Add(COMVariant::createFromInt(10)); exlist1.Items().Add(COMVariant::createFromInt(20)); } |
153 |
How do I highlight in italic the numbers greater than a value
public void init() { COM com_ConditionalFormat; anytype var_ConditionalFormat; ; super(); var_ConditionalFormat = COM::createFromObject(exlist1.ConditionalFormats()).Add("%0 >= 10"); com_ConditionalFormat = var_ConditionalFormat; com_ConditionalFormat.Italic(true); exlist1.Columns().Add("Numbers"); exlist1.Items().Add(COMVariant::createFromInt(1)); exlist1.Items().Add(COMVariant::createFromInt(2)); exlist1.Items().Add(COMVariant::createFromInt(10)); exlist1.Items().Add(COMVariant::createFromInt(20)); } |
152 |
How do I highlight in bold the numbers greater than a value
public void init() { COM com_ConditionalFormat; anytype var_ConditionalFormat; ; super(); var_ConditionalFormat = COM::createFromObject(exlist1.ConditionalFormats()).Add("%0 >= 10"); com_ConditionalFormat = var_ConditionalFormat; com_ConditionalFormat.Bold(true); exlist1.Columns().Add("Numbers"); exlist1.Items().Add(COMVariant::createFromInt(1)); exlist1.Items().Add(COMVariant::createFromInt(2)); exlist1.Items().Add(COMVariant::createFromInt(10)); exlist1.Items().Add(COMVariant::createFromInt(20)); } |
151 |
Can I use your EBN files to change the visual appearance for radio buttons
public void init() { COM com_Items; anytype var_Items; ; super(); exlist1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn"); exlist1.VisualAppearance().Add(2,"c:\\exontrol\\images\\pushed.ebn"); exlist1.RadioImage(0,16777216); exlist1.RadioImage(1,33554432); COM::createFromVariant(exlist1.Columns().Add("Radio")).Def(1/*exCellHasRadioButton*/,COMVariant::createFromBoolean(true)); var_Items = exlist1.Items(); com_Items = var_Items; com_Items.Add("Radio 1"); com_Items.CellState(com_Items.Add("Radio 2"),COMVariant::createFromInt(0),1); com_Items.Add("Radio 3"); } |
150 |
Can I use your EBN files to change the visual appearance for checkbox cells
public void init() { COM com_Items; anytype var_Items; ; super(); exlist1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn"); exlist1.VisualAppearance().Add(2,"c:\\exontrol\\images\\pushed.ebn"); exlist1.CheckImage(0/*Unchecked*/,16777216); exlist1.CheckImage(1/*Checked*/,33554432); COM::createFromVariant(exlist1.Columns().Add("Check")).Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true)); var_Items = exlist1.Items(); com_Items = var_Items; com_Items.Add("Check 1"); com_Items.CellState(com_Items.Add("Check 2"),COMVariant::createFromInt(0),1); } |
149 |
How do I change the visual aspect for thumb parts in the scroll bars, using EBN
public void init() { COM com_Items; anytype var_Items; ; super(); exlist1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn"); exlist1.VisualAppearance().Add(2,"c:\\exontrol\\images\\pushed.ebn"); exlist1.VisualAppearance().Add(3,"c:\\exontrol\\images\\hot.ebn"); exlist1.Background(388/*exHSThumb*/,0x1000000); exlist1.Background(389/*exHSThumbP*/,0x2000000); exlist1.Background(391/*exHSThumbH*/,0x3000000); exlist1.Background(260/*exVSThumb*/,0x1000000); exlist1.Background(261/*exVSThumbP*/,0x2000000); exlist1.Background(263/*exVSThumbH*/,0x3000000); exlist1.ColumnAutoResize(false); exlist1.ScrollBySingleLine(true); COM::createFromVariant(exlist1.Columns().Add("S")).Width(483); var_Items = exlist1.Items(); com_Items = var_Items; com_Items.ItemHeight(com_Items.Add("Item 1"),248); exlist1.Items().Add("Item 2"); } |
148 |
How do I change the visual aspect only for the thumb in the scroll bar, using EBN
public void init() { ; super(); exlist1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn"); exlist1.VisualAppearance().Add(2,"c:\\exontrol\\images\\pushed.ebn"); exlist1.VisualAppearance().Add(3,"c:\\exontrol\\images\\hot.ebn"); exlist1.Background(388/*exHSThumb*/,0x1000000); exlist1.Background(389/*exHSThumbP*/,0x2000000); exlist1.Background(391/*exHSThumbH*/,0x3000000); exlist1.ColumnAutoResize(false); COM::createFromVariant(exlist1.Columns().Add("S")).Width(483); } |
147 |
I've seen that you can change the visual appearance for the scroll bar. How can I do that
public void init() { ; super(); exlist1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn"); exlist1.VisualAppearance().Add(2,"c:\\exontrol\\images\\pushed.ebn"); exlist1.VisualAppearance().Add(3,"c:\\exontrol\\images\\hot.ebn"); exlist1.Background(324/*exSBtn*/,0x1000000); exlist1.Background(325/*exSBtnP*/,0x2000000); exlist1.Background(327/*exSBtnH*/,0x3000000); exlist1.Background(404/*exHSBack*/,WinApi::RGB2int(240,240,240)); exlist1.Background(276/*exVSBack*/,WinApi::RGB2int(240,240,240)); exlist1.Background(511/*exScrollSizeGrip*/,WinApi::RGB2int(240,240,240)); COM::createFromVariant(exlist1.Columns().Add("S")).Width(32); COM::createFromVariant(exlist1.Columns().Add("Level 1")).LevelKey(COMVariant::createFromInt(1)); COM::createFromVariant(exlist1.Columns().Add("Level 2")).LevelKey(COMVariant::createFromInt(1)); COM::createFromVariant(exlist1.Columns().Add("Level 3")).LevelKey(COMVariant::createFromInt(1)); COM::createFromVariant(exlist1.Columns().Add("E1")).Width(32); COM::createFromVariant(exlist1.Columns().Add("E2")).Width(32); COM::createFromVariant(exlist1.Columns().Add("E3")).Width(32); COM::createFromVariant(exlist1.Columns().Add("E4")).Width(32); exlist1.ColumnAutoResize(false); exlist1.ScrollBars(15/*DisableBoth*/); } |
146 |
Is there any option to highligth the column from the cursor - point
public void init() { ; super(); exlist1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn"); exlist1.Background(32/*exCursorHoverColumn*/,0x1000000); COM::createFromVariant(exlist1.Columns().Add("S")).Width(32); COM::createFromVariant(exlist1.Columns().Add("Level 1")).LevelKey(COMVariant::createFromInt(1)); COM::createFromVariant(exlist1.Columns().Add("Level 2")).LevelKey(COMVariant::createFromInt(1)); COM::createFromVariant(exlist1.Columns().Add("Level 3")).LevelKey(COMVariant::createFromInt(1)); COM::createFromVariant(exlist1.Columns().Add("E1")).Width(32); COM::createFromVariant(exlist1.Columns().Add("E2")).Width(32); COM::createFromVariant(exlist1.Columns().Add("E3")).Width(32); COM::createFromVariant(exlist1.Columns().Add("E4")).Width(32); } |
145 |
How do I change the visual aspect of selected item in the drop down filter window, using your EBN technology
public void init() { ; super(); exlist1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn"); exlist1.Background(20/*exSelBackColorFilter*/,0x1000000); exlist1.Background(21/*exSelForeColorFilter*/,WinApi::RGB2int(255,20,20)); COM::createFromVariant(exlist1.Columns().Add("Filter")).DisplayFilterButton(true); } |
144 |
How do I change the visual aspect of the drop down calendar window, that shows up if I click the drop down filter button, using EBN
public void init() { COM com_Column; anytype var_Column; ; super(); exlist1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn"); exlist1.VisualAppearance().Add(2,"c:\\exontrol\\images\\pushed.ebn"); exlist1.Background(8/*exDateHeader*/,0x1000000); exlist1.Background(9/*exDateTodayUp*/,0x1000000); exlist1.Background(10/*exDateTodayDown*/,0x2000000); exlist1.Background(11/*exDateScrollThumb*/,0x1000000); exlist1.Background(12/*exDateScrollRange*/,WinApi::RGB2int(230,230,230)); exlist1.Background(13/*exDateSeparatorBar*/,WinApi::RGB2int(230,230,230)); exlist1.Background(14/*exDateSelect*/,0x1000000); var_Column = COM::createFromVariant(exlist1.Columns().Add("Date")); com_Column = var_Column; com_Column.FilterType(4/*exDate*/); com_Column.DisplayFilterButton(true); com_Column.DisplayFilterDate(true); } |
143 |
How do I change the visual aspect of the close button in the filter bar, using EBN
public void init() { ; super(); exlist1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn"); exlist1.Background(1/*exFooterFilterBarButton*/,0x1000000); COM::createFromVariant(exlist1.Columns().Add("Filter")).FilterType(1/*exBlanks*/); exlist1.ApplyFilter(); } |
142 |
How do I change the visual aspect of buttons in the cell, using EBN
public void init() { ; super(); exlist1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn"); exlist1.VisualAppearance().Add(2,"c:\\exontrol\\images\\pushed.ebn"); exlist1.Background(2/*exCellButtonUp*/,0x1000000); exlist1.Background(3/*exCellButtonDown*/,0x2000000); exlist1.SelForeColor(WinApi::RGB2int(0,0,0)); exlist1.ShowFocusRect(false); COM::createFromVariant(exlist1.Columns().Add("Column 1")).Def(2/*exCellHasButton*/,COMVariant::createFromBoolean(true)); exlist1.Items().Add("Button 1"); exlist1.Items().Add("Button 2"); exlist1.Columns().Add("Column 2"); } |
141 |
How do I change the visual aspect of the drop down filter button, using EBN
public void init() { ; super(); exlist1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn"); exlist1.Background(0/*exHeaderFilterBarButton*/,0x1000000); COM::createFromVariant(exlist1.Columns().Add("Filter")).DisplayFilterButton(true); } |
140 |
How do I enable resizing the columns at runtime
|
139 |
How can I sort by multiple columns
public void init() { ; super(); exlist1.SingleSort(false); COM::createFromVariant(exlist1.Columns().Add("C1")).SortOrder(1/*SortAscending*/); COM::createFromVariant(exlist1.Columns().Add("C2")).SortOrder(2/*SortDescending*/); COM::createFromVariant(exlist1.Columns().Add("C3")).SortOrder(1/*SortAscending*/); } |
138 |
How can I add several columns to control's sort bar
public void init() { ; super(); exlist1.SortBarVisible(true); exlist1.SortBarColumnWidth(48); COM::createFromVariant(exlist1.Columns().Add("C1")).SortOrder(1/*SortAscending*/); COM::createFromVariant(exlist1.Columns().Add("C2")).SortOrder(2/*SortDescending*/); } |
137 |
How can I change the width of the columns being displayed in the sort bar
public void init() { ; super(); exlist1.SortBarVisible(true); exlist1.SortBarColumnWidth(48); COM::createFromVariant(exlist1.Columns().Add("C1")).SortOrder(1/*SortAscending*/); COM::createFromVariant(exlist1.Columns().Add("C2")).SortOrder(2/*SortDescending*/); } |
136 |
How can I change the height of the sort bar's
public void init() { ; super(); exlist1.SortBarVisible(true); exlist1.SortBarHeight(48); } |
135 |
How can I change the sort bar's foreground color
public void init() { ; super(); exlist1.SortBarVisible(true); exlist1.ForeColorSortBar(WinApi::RGB2int(255,0,0)); } |
134 |
How can I change the visual appearance of the control's sort bar, using EBN files
public void init() { ; super(); exlist1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn"); exlist1.VisualAppearance().Add(2,"c:\\exontrol\\images\\pushed.ebn"); exlist1.SortBarVisible(true); exlist1.BackColorSortBar(0x1000000); exlist1.BackColorSortBarCaption(0x2000000); exlist1.Appearance(0/*None2*/); } |
133 |
How can I change the sort bar's background color
public void init() { ; super(); exlist1.SortBarVisible(true); exlist1.BackColorSortBar(WinApi::RGB2int(255,0,0)); exlist1.BackColorSortBarCaption(WinApi::RGB2int(128,0,0)); } |
132 |
How can I change the default caption being displayed in the control's sort bar
public void init() { ; super(); exlist1.SortBarVisible(true); exlist1.SortBarCaption("new caption"); } |
131 |
How can I show the control's sort bar
|
130 |
How can I stretch a picture on the control's header, when multiple levels are displayed, so it is not tiled
public void init() { ; super(); exlist1.PictureLevelHeader(exlist1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\colorize.gif`)")); exlist1.PictureDisplayLevelHeader(49/*Stretch*/); COM::createFromVariant(exlist1.Columns().Add("S")).Width(32); COM::createFromVariant(exlist1.Columns().Add("Level 1")).LevelKey(COMVariant::createFromInt(1)); COM::createFromVariant(exlist1.Columns().Add("Level 2")).LevelKey(COMVariant::createFromInt(1)); COM::createFromVariant(exlist1.Columns().Add("Level 3")).LevelKey(COMVariant::createFromInt(1)); COM::createFromVariant(exlist1.Columns().Add("E1")).Width(32); COM::createFromVariant(exlist1.Columns().Add("E2")).Width(32); COM::createFromVariant(exlist1.Columns().Add("E3")).Width(32); COM::createFromVariant(exlist1.Columns().Add("E4")).Width(32); } |
129 |
How can I display a picture on the control's header, when multiple levels are displayed, so it is not tiled
public void init() { ; super(); exlist1.PictureLevelHeader(exlist1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\colorize.gif`)")); exlist1.PictureDisplayLevelHeader(18/*MiddleRight*/); COM::createFromVariant(exlist1.Columns().Add("S")).Width(32); COM::createFromVariant(exlist1.Columns().Add("Level 1")).LevelKey(COMVariant::createFromInt(1)); COM::createFromVariant(exlist1.Columns().Add("Level 2")).LevelKey(COMVariant::createFromInt(1)); COM::createFromVariant(exlist1.Columns().Add("Level 3")).LevelKey(COMVariant::createFromInt(1)); COM::createFromVariant(exlist1.Columns().Add("E")).Width(32); } |
128 |
How can I display a picture on the control's header, when multiple levels are displayed
public void init() { ; super(); exlist1.PictureLevelHeader(exlist1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")); COM::createFromVariant(exlist1.Columns().Add("S")).Width(32); COM::createFromVariant(exlist1.Columns().Add("Level 1")).LevelKey(COMVariant::createFromInt(1)); COM::createFromVariant(exlist1.Columns().Add("Level 2")).LevelKey(COMVariant::createFromInt(1)); COM::createFromVariant(exlist1.Columns().Add("Level 3")).LevelKey(COMVariant::createFromInt(1)); } |
127 |
How can I change the header's background color, when multiple levels are displayed
public void init() { ; super(); exlist1.BackColorLevelHeader(WinApi::RGB2int(250,0,0)); COM::createFromVariant(exlist1.Columns().Add("S")).Width(32); COM::createFromVariant(exlist1.Columns().Add("Level 1")).LevelKey(COMVariant::createFromInt(1)); COM::createFromVariant(exlist1.Columns().Add("Level 2")).LevelKey(COMVariant::createFromInt(1)); COM::createFromVariant(exlist1.Columns().Add("Level 3")).LevelKey(COMVariant::createFromInt(1)); } |
126 |
Can I programmatically scroll the control
|
125 |
Do you have some function to load data from a safe array
|
124 |
Do you have some function to retrieve all items to a safe array
public void init() { ; super(); exlist1.Columns().Add("Column"); exlist1.Items().Add(COMVariant::createFromInt(0)); exlist1.PutItems(exlist1.GetItems(COMVariant::createFromInt(0))); exlist1.Items().Add(COMVariant::createFromInt(1)); exlist1.PutItems(exlist1.GetItems(COMVariant::createFromInt(0))); exlist1.Items().Add(COMVariant::createFromInt(2)); exlist1.PutItems(exlist1.GetItems(COMVariant::createFromInt(0))); exlist1.Items().Add(COMVariant::createFromInt(3)); } |
123 |
How can still display the selected items when the control loses the focus
public void init() { COM com_Items; anytype var_Items; ; super(); exlist1.HideSelection(false); exlist1.Columns().Add("Column"); var_Items = exlist1.Items(); com_Items = var_Items; com_Items.Add("Item 3"); com_Items.Add("Item 1"); com_Items.SelectItem(com_Items.Add("Item 2"),true); } |
122 |
How can I hide a column
|
121 |
How can I ensure that a column is visible and fits the control's client area
|
120 |
I've seen that the width of the tooltip is variable. Can I make it larger
public void init() { ; super(); exlist1.ToolTipWidth(328); COM::createFromVariant(exlist1.Columns().Add("tootip")).ToolTip("this is a tooltip that should be very very very very very very very long"); } |
119 |
How do I disable showing the tooltip for all control
public void init() { ; super(); exlist1.ToolTipDelay(0); COM::createFromVariant(exlist1.Columns().Add("tootip")).ToolTip("this is a tooltip assigned to a column"); } |
118 |
How do I let the tooltip being displayed longer
public void init() { ; super(); exlist1.ToolTipPopDelay(10000); COM::createFromVariant(exlist1.Columns().Add("tootip")).ToolTip("this is a tooltip assigned to a column"); } |
117 |
How do I show the tooltip quicker
public void init() { ; super(); exlist1.ToolTipDelay(1); COM::createFromVariant(exlist1.Columns().Add("tootip")).ToolTip("this is a tooltip assigned to a column"); } |
116 |
How do I change the caption being displayed in the control's filter bar
|
115 |
How do I search case sensitive, using your incremental search feature
public void init() { COM com_Columns,com_Items,com_Items1; anytype var_Columns,var_Items,var_Items1; ; super(); exlist1.AutoSearch(true); var_Columns = exlist1.Columns(); com_Columns = var_Columns; COM::createFromVariant(com_Columns.Add("exStartWith")).AutoSearch(0/*exStartWith*/); COM::createFromVariant(com_Columns.Add("exContains")).AutoSearch(1/*exContains*/); var_Items = exlist1.Items(); com_Items = var_Items; com_Items.Caption(com_Items.Add("text"),COMVariant::createFromInt(1),"another text"); var_Items1 = exlist1.Items(); com_Items1 = var_Items1; com_Items1.Caption(com_Items1.Add("text"),COMVariant::createFromInt(1),"another text"); } |
114 |
How do I disable the control
|
113 |
How do I enable the incremental search feature within a column
public void init() { COM com_Columns,com_Items,com_Items1; anytype var_Columns,var_Items,var_Items1; ; super(); exlist1.AutoSearch(true); var_Columns = exlist1.Columns(); com_Columns = var_Columns; COM::createFromVariant(com_Columns.Add("exStartWith")).AutoSearch(0/*exStartWith*/); COM::createFromVariant(com_Columns.Add("exContains")).AutoSearch(1/*exContains*/); var_Items = exlist1.Items(); com_Items = var_Items; com_Items.Caption(com_Items.Add("text"),COMVariant::createFromInt(1),"another text"); var_Items1 = exlist1.Items(); com_Items1 = var_Items1; com_Items1.Caption(com_Items1.Add("text"),COMVariant::createFromInt(1),"another text"); } |
112 |
How do I call your x-script language
|
111 |
How do I call your x-script language
|
110 |
How do I show alternate rows in different background color
|
109 |
How do I enlarge the drop down filter window
public void init() { COM com_Column; anytype var_Column; ; super(); exlist1.FilterBarDropDownHeight(-320); var_Column = COM::createFromVariant(exlist1.Columns().Add("Column")); com_Column = var_Column; com_Column.DisplayFilterButton(true); com_Column.FilterBarDropDownWidth(-320); exlist1.Items().Add("Item 1"); exlist1.Items().Add("Item 2"); } |
108 |
How do I filter programatically the control
public void init() { COM com_Column; anytype var_Column; ; super(); var_Column = COM::createFromVariant(exlist1.Columns().Add("Column")); com_Column = var_Column; com_Column.DisplayFilterButton(true); com_Column.FilterType(3/*exPattern*/); com_Column.Filter("Item*"); exlist1.Items().Add("Item 1"); exlist1.Items().Add(""); exlist1.Items().Add("Item 2"); exlist1.ApplyFilter(); } |
107 |
How do I change the font of the control's filterbar
|
106 |
Can I apply an EBN skin to the control's filter bar so I can change its visual appearance
public void init() { COM com_Column; anytype var_Column; ; super(); exlist1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn"); exlist1.FilterBarBackColor(0x1000000); var_Column = COM::createFromVariant(exlist1.Columns().Add("Column")); com_Column = var_Column; com_Column.DisplayFilterButton(true); com_Column.FilterType(1/*exBlanks*/); exlist1.ApplyFilter(); } |
105 |
How do I change the background color of the control's filterbar
|
104 |
How do I change the foreground color of the control's filterbar
|
103 |
How do I change the height of the control's filterbar
|
102 |
How do select only a portion of text when the control starts editing a cell
public void init() { ; super(); exlist1.AllowEdit(true); exlist1.SelStart(1); exlist1.SelLength(1); exlist1.Columns().Add("Column"); exlist1.Items().Add("Item 1"); exlist1.Items().Add("Item 2"); } |
101 |
How do I change the header's foreground color
|